package view.CommonView;

import java.awt.Dimension;

import javax.swing.JLabel;

import view.MainView;


/**
 * @Author: Lin Hongwei
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 封装换行公用组件
 *
 */
public class CommonHrJLabel extends JLabel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public CommonHrJLabel(String name) {
		super(name,JLabel.CENTER);
		setPreferredSize(new Dimension(MainView.instance.getWidth(), 20));
	}

}
